﻿<%@ Page Language="C#" MasterPageFile="~/webadmin/pages/MasterPage.master" AutoEventWireup="true" CodeFile="baocao_3b.aspx.cs" Inherits="webadmin_pages_reports_baocao_3b" Title="Bao cao 3b" %>


<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder_Main" Runat="Server">
<script type = "text/javascript"> 
	function SetTarget()
	{document.forms[0].target = "_blank";}
</script>
    <div class="tbl">
	    <div class="clear"></div> <!-- End .clear -->
        <div class="content-box ">
			<div class="content-box-header">
                <h3>
                        Báo cáo : <span style="color: #00cc00">theo mẫu 3b</span>
                    </h3>
                <div class="clear"></div>
            </div><!-- End .content-box-header -->
        				
	        <div class="content-box-content "  >
				
		        <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
        				
				    <!-- Start Notifications -->
			        <% if (!string.IsNullOrEmpty(messageError))
                    {%>
			        <div class="notification error png_bg">
				        <a href="#" class="close"><img src="../resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				        <div>
				        Thông báo lỗi:  <b><i><%=messageError%></i></b></div>
			        </div>
			        <%} %>
			        <!-- Noi dung -->
			        <p>
                        <label>Điều kiện theo thời gian:</label>
                        từ:<asp:TextBox ID="txtTuNgay" runat="server"  Width="150px"></asp:TextBox>&nbsp; 
                        đến:<asp:TextBox id="txtDenNgay" runat="server" Width="150px" ></asp:TextBox>
						<br/>
						<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtTuNgay"
                        ErrorMessage="Phải là định dạng ngày tháng" ValidationExpression="^(((0?[1-9]|[12]\d|3[01])[\.\-\/](0?[13578]|1[02])[\.\-\/]((1[6-9]|[2-9]\d)?\d{2}))|((0?[1-9]|[12]\d|30)[\.\-\/](0?[13456789]|1[012])[\.\-\/]((1[6-9]|[2-9]\d)?\d{2}))|((0?[1-9]|1\d|2[0-8])[\.\-\/]0?2[\.\-\/]((1[6-9]|[2-9]\d)?\d{2}))|(29[\.\-\/]0?2[\.\-\/]((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)|00)))$"></asp:RegularExpressionValidator>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtDenNgay"
                        ErrorMessage="Phải là định dạng ngày tháng" ValidationExpression="^(((0?[1-9]|[12]\d|3[01])[\.\-\/](0?[13578]|1[02])[\.\-\/]((1[6-9]|[2-9]\d)?\d{2}))|((0?[1-9]|[12]\d|30)[\.\-\/](0?[13456789]|1[012])[\.\-\/]((1[6-9]|[2-9]\d)?\d{2}))|((0?[1-9]|1\d|2[0-8])[\.\-\/]0?2[\.\-\/]((1[6-9]|[2-9]\d)?\d{2}))|(29[\.\-\/]0?2[\.\-\/]((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)|00)))$"></asp:RegularExpressionValidator>
                    </p>
                    <p>
                        <asp:Button ID="btnOk" runat="server" Text="Tạo báo cáo" OnClick="btnOk_Click" 
						OnClientClick='SetTarget()'/>
					</p>
				</div> <!-- End #tab1 -->
            </div><!-- End .content-box-content -->	
		</div> <!-- End .content-box -->
     </div>
</asp:Content>

